package com.xu.boot.bean;

import lombok.*;

@Data
@NoArgsConstructor
@EqualsAndHashCode
@ToString
public class User {

    private String name;
    private int age;
    private Pet pet;

    public User(String name, int age){
        this.name = name;
        this.age = age;
    }

}
